export const toPlainObjectDeep = function (val: any): Object {
    return JSON.parse(JSON.stringify(val));
}